Visual Basic (Declaration) | |
---|---|
Public Overloads MustOverride Function Value(Of T)( _ ByVal key As String, _ ByVal defaultValue As T _ ) As T |
Parameters
- key
- The key.
- defaultValue
- The returned value if the key is not found or the value cannot be converted to the specified enumeration.
Type Parameters
- T
- The specified enumeration type for the returned value.
Return Value
The enumeration value.See Item for more information about keys.
Target Platforms: Windows 11 Professional or Enterprise; Windows 10 Professional, Enterprise, or Education (64-bit)